package com.example.rdemo.mapper;


import com.example.rdemo.entity.Banner;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * bannerMapper接口
 * 
 * @author ruoyi
 * @date 2025-03-27
 */
@Mapper
public interface BannerMapper 
{
    //查询banner
    public Banner selectBannerById(Long id);

    //查询banner列表
    public List<Banner> selectBannerList(Banner banner);

    //新增banner
    public int insertBanner(Banner banner);

    //修改banner
    public int updateBanner(Banner banner);

    //删除banner
    public int deleteBannerById(Long id);

    //批量删除banner
    public int deleteBannerByIds(Long[] ids);
}
